package com.itheima.springbootwebbtalis.mapper;

import com.itheima.springbootwebbtalis.pojo.EmpExpr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

@Mapper
public interface EmpExprMapper {
    void addBatch(List<EmpExpr> exprList);

    void deleteBatchExpr(List<Integer> ids);
@Select("select * from emp_expr where emp_id = #{id};")
    List<EmpExpr> selectById(Integer id);
}
